package com.example.hetong_system.repository;

import com.example.hetong_system.model.MilestonePlan;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface MilestonePlanRepository extends JpaRepository<MilestonePlan, Long> {
    Optional<MilestonePlan> findByContractId(Long id);
}

